package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

/**
 * ClassName: SearchService
 * Package: com.atguigu.gmall.list.service
 * Description:
 *
 * @Author 刘轩
 * @Create 2023-08-26 16:42
 * @Version 1.0
 */


public interface SearchService {
 /**
  * 商品上架
  * @param skuId
  * @return
  */
 void upperGoods(Long skuId);

 /**
  * 商品下架
  * @param skuId
  * @return
  */
 void lowerGoods(Long skuId);
 /**
  * 根据skuId 做热度排名
  * @param skuId
  * @return
  */
 void incrHotScore(Long skuId);


 /**
  * 商品检索
  *
  * @param searchParam
  * @return
  */
    SearchResponseVo search(SearchParam searchParam);
}
